package com.kly.user.db.dao;
import com.fqgj.common.base.BaseMapper;
import com.kly.user.db.entity.UserAlbumsEntity;

import java.util.List;

/**
* User: yujianfu
* Date: 2023-05-22
* Time: 10:35:52.863
 * @author linqu
 */

public interface UserAlbumsDao  extends BaseMapper<UserAlbumsEntity> {

    /**
     * 获取用户相册
     * @param userCode
     * @return
     */
    List<UserAlbumsEntity> selectByUserCode(String userCode);

    /**
     * 获取用户相册
     * @param userCode
     * @param type
     * @return
     */
    UserAlbumsEntity selectByType(String userCode, Integer type);

}